package com.zsrt.javaweb.student.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zsrt.javaweb.student.dao.StudentDao;
import com.zsrt.javaweb.student.entity.Student;
import com.zsrt.javaweb.student.service.StudentService;


@Service
public class StudentServiceImpl implements StudentService {

	
	/**
	 * 组装 
	 */
	@Autowired
	private StudentDao  dao=null; 
	
	@Override
	public void insert(Student stu) {
		System.out.println(dao);
		dao.add(stu);
	}

}
